<!--
 * @Author: weidewei
 * @Date: 2025-06-09 09:12:49
 * @LastEditors: weidewei
 * @LastEditTime: 2025-06-09 09:16:45
 * @Description: 
 * @FilePath: \2025-front-face\手写题\测试深拷贝.html
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>测试深拷贝</title>
  </head>
  <script src="./手写深拷贝.js"></script>
  <body>
    <script>
      const obj = {
        a: 111,
        b: "222",
        c: new Date(),
        d: {
          e: {
            f: Date.now(),
          },
        },
      };
      obj1.g = obj;
      const result = deepClone(obj1);
      console.log("resultt", result);
      // console.log(deepClone)
    </script>
  </body>
</html>
